#ifndef SPRITE
#define SPRITE 

#include "SDL/SDL.h"
#include "SDL/SDL_image.h"

class Sprite {
public:
    int x;
    int y;    
public:
    SDL_Renderer* m_renderer;
public:
    Sprite() ;
    virtual ~Sprite() ;
public:  
   virtual void init(){}//纯虚函数
   virtual void render();
   virtual void onMouse();
   void setRenderer(SDL_Renderer* m_renderer);
};

#endif